#include <string>
#include <iostream>
#include <boost\thread.hpp>
#include "Server.h"

using namespace std;
using namespace boost;
using boost::asio::ip::tcp;

int main()
{
	try
	{
		
		Server server;
		server.start();
		char c;
		cin>>c;
		if (c=='b')
		{
			char* bb="broadcast info";
			server.broadcast(bb);
		}
		getchar();
		
	}
	catch (std::exception& e)
	{
		std::cerr << "Exception: " << e.what() << "\n";
	}

	return 0;
}

